using System.Threading.Tasks;
using JoyfulHomeJourney.BackEnd.Infrastructure.Atrributes;
using JoyfulHomeJourney.BackEnd.Infrastructure.Dtos.Requests.Objects;
using JoyfulHomeJourney.BackEnd.Infrastructure.Dtos.Responses;
namespace JoyfulHomeJourney.BackEnd.Server.Interfaces
{
	[ProvideClassOrInterface]
	public interface ISysCarServicesServer
	{
		Task<ResponseApiDto> AddAsync(RequestSysCarServicesDto dto);
		Task<ResponseApiDto> AddAsync2(RequestSysCarServicesDto dto);

        Task<ResponseApiDto> UpdateAsync(RequestSysCarServicesDto dto);
		Task<ResponseApiDto> DeleteAsync(RequestSysCarServicesDto dto);
		Task<ResponseApiDto> Detail(string id);
        Task<ResponseApiDto> PaginationAsync(int page, int limit, string key, string shopId, string field, bool? order);
	}
}
